package org.jeecg.eqp.service.impl;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.eqp.dto.EqpMachinestateValueDTO;
import org.jeecg.eqp.entity.EqpMachinestateValue;
import org.jeecg.eqp.mapper.EqpMachinestateValueMapper;
import org.jeecg.eqp.service.IEqpMachinestateValueService;
import org.jeecg.eqp.vo.EqpMachinestateValueVO;
import org.jeecg.report.dto.EqpFaultHistoryDTO;
import org.springframework.stereotype.Service;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

/**
 * @Description: 设备运行状态
 * @Author: LiCY
 * @Date:   2023-06-29
 * @Version: V1.0
 */
@Service
public class EqpMachinestateValueServiceImpl extends ServiceImpl<EqpMachinestateValueMapper, EqpMachinestateValue> implements IEqpMachinestateValueService {

    @Override
    public IPage<EqpMachinestateValueDTO> eqpMachinestateTrace(Page<EqpMachinestateValueDTO> page, EqpMachinestateValueVO eqpMachinestateValueVO) {
        return baseMapper.eqpMachinestateTrace(page,eqpMachinestateValueVO);
    }

    @Override
    public IPage<EqpMachinestateValue> queryPageList(Page<EqpMachinestateValue> page, EqpMachinestateValueVO eqpMachinestateValueVO) {
        return baseMapper.queryPageList(page,eqpMachinestateValueVO);
    }

    @Override
    public IPage<EqpFaultHistoryDTO> queryPagefaultList(Page<EqpFaultHistoryDTO> page, EqpMachinestateValueVO eqpMachinestateValueVO) {
        return baseMapper.queryPagefaultList(page,eqpMachinestateValueVO);
    }
}
